package org.eminem.spring.cloud.finchley.controller;

import org.eminem.spring.cloud.finchley.model.User;
import org.eminem.spring.cloud.finchley.service.UserService;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class UserController implements UserService {

	@Override
	public String addUser(User user){
		return "hello,"+user.getName();
	}

	@Override
	public String updateUser(User user){
		return "hello,"+user.getName();
	}


}
